{*
*	Module Name: pecufont
*	Module URI: http://www.prestaext.com
*	Description: PE cufont module.
*	Version: 1.0
*	Author: prestaext.com
*	Author URI: http://www.prestaext.com
*	Copyright (C) 2012 prestaext.com. 
*
*}

<!-- MODULE Home Featured Products -->
<div id="featured-products_block_center" class="products_block">
	{if isset($products) AND $products}
		<div class="block_pefeaturedscroll">
			<div id="pefeaturedscroll">
			{foreach from=$products item=product name=homeFeaturedProducts}
				<div class="peajax_block_product">
					<a href="{$product.link}" title="{$product.name|escape:html:'UTF-8'}" class="product_image"><img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home')}" height="{$homeSize.height}" width="{$homeSize.width}" alt="{$product.name|escape:html:'UTF-8'}" /></a>
						<h5><a href="{$product.link}" title="{$product.name|truncate:32:'...'|escape:'htmlall':'UTF-8'}">{$product.name|truncate:27:'...'|escape:'htmlall':'UTF-8'}</a></h5>
				</div>
			{/foreach}
			</div>
			<div class="clearfix"></div>
			<a class="prev" id="pefeaturedscroll_prev" href="#"><span>prev</span></a>
			<a class="next" id="pefeaturedscroll_next" href="#"><span>next</span></a>
			<div class="pagination" id="foo2_pag"></div>			
		</div>
	{else}
		<p>{l s='No featured products' mod='homefeatured'}</p>
	{/if}
</div>
<!-- /MODULE Home Featured Products -->
